﻿using System;
using System.Net;

namespace suanpan.API.Components.Exceptions
{
    public class ForbiddenException : RESTException
    {
        public ForbiddenException(Exception ex)
            : base(ex, HttpStatusCode.Forbidden)
        {
        }
        public ForbiddenException(string statusDescription)
            : base(new Exception(statusDescription), HttpStatusCode.Forbidden, statusDescription)
        {
        }
    }
}
